@import '../common/index.scss';

$height: 4px !default;

// 组件高度
$height-size-base-map: (
  1: $height * 1, // 4px
  2: $height * 2, // 8px
  3: $height * 3, // 12px
  4: $height * 4, // 16px
  5: $height * 5, //  20px
  6: $height * 6, // 24px
  7: $height * 7, // 28px
  8: $height * 8, // 32px
  9: $height * 9, // 36px
  10: $height * 10, // 40px
  11: $height * 11, // 44px
  12: $height * 12, // 48px
  13: $height * 13, // 52px
  14: $height * 14, // 56px
  15: $height * 15, // 60px
  16: $height * 16, // 64px
) !default;

@function get-height($size) {
  @return map-safe-get($height-size-base-map, $size);
}
